package com.cindata

class ContactCSVImporter extends CSVImpoter
{

    /*******************按照实体将csv对应的列进行排序列出*******************************/
    static columnsSet = [
        [name:'externalId'],
        [ name: 'fullName'],
        [ name: 'sex'],
        [ name: 'identityType'],
        [ name: 'idNumber'],
        [ name: 'cellphone'],
        [ name: 'address'],
        [ name: 'bankAccountNo'],
        [ name: 'householdAddress'],
        [ name: 'workUnitName'],
        [ name: 'position']
    ]
    /*******************读取单个单元格数据**********************/

    ContactCSVImporter(){
        columns = columnsSet
        startRow = 3
    }

    @Override
    def read(InputStream inputStream,String charsetName) {
        return super.read(inputStream,charsetName)
    }
}
